package com.eudon.design_pattern.behavioral.memento;

/**
 * @author eudon
 * @description 文本快照
 * @date 2025/9/3
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
public class TextSnapShot {
    private final String text;

    public TextSnapShot(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }
}
